package org.model;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable
{
	
	private static final long serialVersionUID = -2225053861113413685L;
	
	private Integer id;
	private String username;
	private String password;
	private Boolean sex;
	private String email;
	private String pwdQuestion;
	private String  pwdAnswer;
	private Date regDate;
	private Date lastLoginDate;
	private String lastLoginIp;
	
	public String getEmail()
	{
		return email;
	}
	public void setEmail(String email)
	{
		this.email = email;
	}
	public Integer getId()
	{
		return id;
	}
	public void setId(Integer id)
	{
		this.id = id;
	}
	public Date getLastLoginDate()
	{
		return lastLoginDate;
	}
	public void setLastLoginDate(Date lastLoginDate)
	{
		this.lastLoginDate = lastLoginDate;
	}
	public String getLastLoginIp()
	{
		return lastLoginIp;
	}
	public void setLastLoginIp(String lastLoginIp)
	{
		this.lastLoginIp = lastLoginIp;
	}
	public String getPassword()
	{
		return password;
	}
	public void setPassword(String password)
	{
		this.password = password;
	}
	
	public String getPwdAnswer()
	{
		return pwdAnswer;
	}
	public void setPwdAnswer(String pwdAnswer)
	{
		this.pwdAnswer = pwdAnswer;
	}
	public String getPwdQuestion()
	{
		return pwdQuestion;
	}
	public void setPwdQuestion(String pwdQuestion)
	{
		this.pwdQuestion = pwdQuestion;
	}
	public Date getRegDate()
	{
		return regDate;
	}
	public void setRegDate(Date regDate)
	{
		this.regDate = regDate;
	}
	public Boolean getSex()
	{
		return sex;
	}
	public void setSex(Boolean sex)
	{
		this.sex = sex;
	}
	public String getUsername()
	{
		return username;
	}
	public void setUsername(String username)
	{
		this.username = username;
	}
}
